package com.bosssoft.g1.mapper;

import com.bosssoft.g1.dto.CompanyDTO;
import com.bosssoft.g1.entity.Company;
import com.bosssoft.g1.entity.User;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface CompanyMapper extends Mapper<Company>, MySqlMapper<Company> {
    List<CompanyDTO> getAllCompanies();

    List<Long> getAuthCompanyIdsByCompanyId(@Param("companyId") List<Long> companyId);
}